package com.dayouzi.crawler_data.dao;


import com.dayouzi.crawler_data.config.DataSourceEnvironment;
import com.dayouzi.crawler_data.config.MysqlSession;
import com.dayouzi.crawler_data.mapper.OnlyforcrawlerMapper;

public class OnlyforcrawlerDao {
    
    private MysqlSession onlyforcrawler = new MysqlSession(DataSourceEnvironment.localOnlyforcrawler);
    private OnlyforcrawlerMapper mapper;
    
    public OnlyforcrawlerDao() {
        mapper = onlyforcrawler.sqlSession.getMapper(OnlyforcrawlerMapper.class);
    }
    
    public Integer getSpiderType(Integer id) {
        return mapper.getSpierType(id);
    }
    
    
    
}
